package com.qf.bank.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.bank.entity.Account;
import com.qf.bank.response.R;
import com.qf.bank.vo.input.UpdatePasswordInputVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2022-12-03
 */
public interface IAccountService extends IService<Account> {

    R doLogin(HttpServletRequest request, Account account);


    R searchBalance(String userId);

    R updatePassword(HttpServletRequest request, UpdatePasswordInputVo inputVo);

    R logout(HttpServletRequest request);

}
